package com.lyb.android.activity.setting;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.TextView;

import com.lyb.android.app.Res;
import com.lyb.client.R;

public class HelpActivity extends Activity{
	private static String TAG = "HelpActivity";
	
	private WebView webView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_setting_about);
		
		initViews();
		webView.loadUrl("file:///android_asset/help.html");
	}
	
	private void initViews() {
	TextView titleTv = (TextView) findViewById(R.id.txtAuthor);
	titleTv.setText(Res.string.title_text_setting_help);
    Button btn_back = (Button) findViewById(R.id.author_blog_button_back)	;
    btn_back.setOnClickListener(new View.OnClickListener(){
		@Override
		public void onClick(View v) {
			finish();
		}});
    
    webView = (WebView) findViewById(R.id.about_webView);
	}
}
